{template 'header'}
<script type="text/javascript">var sh = '{$MOD[linkurl]}search.php?catid={$catid}';</script>
 
<div class="wrap mb-10 mt-10 clearfix">
    <div class="cai_pos">当前位置: <a href="{$MODULE[1][linkurl]}">首页</a> &raquo; <a href="{$MOD[linkurl]}">{$MOD[name]}</a> &raquo; <a href="{$MOD[linkurl]}search.php">搜索</a><div class="fr">菜鸟部落为您共找到<strong class="red"> {$items} </strong>条<b class="red"> {$kw} </b>{$MOD[name]}信息</div>
    </div>
</div>



<div class="m">
		<div class="category cldl mt-10">
          
            <dl>
                <dt class="f20">地 区</dt>
                <dd>
                     <ul id="mainCat" class="clearfix">
                  {php $mainarea = get_mainarea(0)}
                    {loop $mainarea $k $v}
                  <li {if $k>$MOD[page_subcat]} class="hide"{/if}> <a class="diqu"  href="{$MOD[linkurl]}search.php?areaid={$v[areaid]}&catid={$catid}" rel="nofollow">{$v[areaname]}</a></li>
                  
                    
                    {/loop}
             		</ul>
                    {if $k > $MOD[page_subcat]}<a href="JavaScript:" class="category-showmorebtn"><em>展开</em></a>{/if}   
                </dd>
            </dl>
        </div>
	<!--搜索条件-->
	<div class="tool mt-10">
            <form action="{$MOD[linkurl]}search.php" id="fsearch">
                <div class="sort-inner clearfix">
                    <div class="styles fr">
                        <a class="style_0" href="javascript:;" onclick="Go(sh+'&list=1');">列表</a>
                        <a class="style_1 hover" href="javascript:;" onclick="Go(sh+'&list=0');">大图</a>
                    </div>
                    <div class="sort fl">
                        <input type="hidden" name="order" value="" id="order">
                        <ul class="clearfix">
                            <li class="first"> <a href="javascript:;" onclick="Dd('order').value='0';Dd('fsearch').submit();" title="综合排序" class="link active">综合排序</a> </li>
                             {loop $TYPE $k $v}
		<li><a href="javascript:Go('{$MOD[linkurl]}{rewrite('search.php?typeid='.$k.'&catid='.$catid)}');" title="{$v}" class="link">{$v}</a></li>
		{/loop}
                            <li class="droplist hoverSelf"><a class="link" title="价格从低到高">价格<span class="icon"></span> </a>
                                <ul>
                                    <li><a href="javascript:;" onclick="Dd('order').value='3';Dd('fsearch').submit();">价格从低到高</a> </li>
                                    <li><a href="javascript:;" onclick="Dd('order').value='2';Dd('fsearch').submit();">价格从高到低</a> </li>
                                </ul>
                            </li>
                        </ul>
                    </div>
                    <div class="prices hoverSelf fl">
                        <div class="inner">
                            <ul class="clearfix">
                                <li class="item">
                                    <input class="input" type="text" name="minprice" value="" placeholder="¥">
                                </li>
                                <li class="sep">-</li>
                                <li class="item">
                                    <input class="input" type="text" name="maxprice" value="" placeholder="¥">
                                </li>
                                <li class="submit"><span class="btn" onclick="Dd('fsearch').submit();">确定</span></li>
                            </ul>
                        </div>
                    </div>
                </div>
            </form>
        </div>
        
<div class="m_l mt-10 f_l">

	<div class="container mt-5 fl">
            {if $page==1 && $kw}
		{ad($moduleid,$catid,$kw,6)}
		{load('m'.$moduleid.'_k'.urlencode($kw).'.htm')}
		{/if}
           <div class="sellWindow">
            {if $tags}
            {if $list==1}
{loop $tags $k $t}
<ul class="list mt10" id="item_{$t[itemid]}">
    <li class="img"><a href="{$t[linkurl]}" target="_blank" title="{$t[title]}"><img src="{imgurl($t[thumb])}" original="{imgurl($t[thumb])}" alt="{$t[title]}" title="{$t[title]}" style="display: inline; "border="0" onerror="this.src='{DT_SKIN}image/nopic100.gif'"></a></li>
    <li class="inform">
        <h2><span class="f14 blue blist"><a href="{$t[linkurl]}" target="_blank" title="{$t[title]}">{$t[title]}</a></span></h2>
        <p class="text">介绍：{dsubstr($t[introduce], 120, '..')}</p>

    </li>
    {if $t[unit] && $t[price]>0}
    <li class="price">
    <p class="f_gray orange f14">{$t[price]}/{$t[unit]}</p>
     <p>关注量： {$t[hits]}</a></p>
     </li>
    {else}
    <li class="price">
    <p class="f_gray orange f14">面议</p>
     <p>关注量： {$t[hits]}</a></p>
    </li>
    {/if}
    <li class="sw-company">
        <p><a href="{userurl($t[username])}" class="gray orange" target="_blank">{$t[company]}</a></p>
        <p><span class="sw-mod-offerImg-company-place">{area_pos($t[areaid], '/', 2)}</span></p>
        <p>{if $t[vip]}<img src="{DT_SKIN}image/vip_{$t[vip]}.gif" alt="{VIP}" title="{VIP}:{$t[vip]}级" align="absmiddle"/>&nbsp;<a rel="nofollow" class="sw-ui-icon-mincxt-v" href="{$MODULE[2][linkurl]}grade.php" target="_blank" title="建议您优先选择VIP会员">第<em>{vip_year($t[fromtime])}</em>年</a>&nbsp;{/if}
   {if $t[validated]}<img src="{DT_SKIN}image/qi.png" width="18" height="18" title="高级诚信企业" align="absmiddle"/>{else}<img src="{DT_SKIN}image/ico-cx-no.png" width="18" height="18" title="普通诚信企业" align="absmiddle"/>{/if} 
    {if $t[validated]}&nbsp;<img src="{DT_SKIN}caiimg/ico-qyrz.png" width="24" height="18" title="企业已通过认证" align="absmiddle"/>{else}<img src="{DT_SKIN}caiimg/ico-qyrz-no.png" width="24" height="18" title="企业未通过认证" align="absmiddle"/>{/if} </p>
</li>
    <li class="btn black">
        
        <p class="btn-msg">

        <a onclick="Go('{$path}{rewrite('price.php?itemid='.$t['itemid'])}');" href="javascript:;">发送报价</a></p>
        <p class="btn-tel">
        <a target="_blank" href="{userurl($t[username])}">联系我们</a></p>
        {if $t[qq] && $DT[im_qq]}<p class="btn-qq">
            <a href="http://wpa.qq.com/msgrd?v=3&amp;uin={$t[qq]}&amp;site=qq&amp;menu=yes" qq="{$t[qq]}" target="_blank">QQ在线</a>
        </p>{/if}
    </li>
</ul>
{/loop}		
{if $pages}<div class="pages clear">{$pages}</div>{/if}

		{elseif $list==0}
            {template 'cainiao-buylist', 'tag'}
            {/if}
            {else}
		{template 'noresult', 'message'}{/if}
            </div>
            <div class="box01 top-reconmmend ">
                <div class="header"> <a class="more" target="_blank" href="{$MODULE[2][linkurl]}{$DT[file_login]}"> 我也要出现在这里</a>
                    <h3>热门推荐</h3>
                </div>
<!--{tag("moduleid=6&length=20&condition=status=3 and thumb<>''&pagesize=5&order=edittime desc&width=160&height=160&cols=8&template=cainiao-sell-hot")}--> 
            </div>
        </div>
 
</div>
 
<div class="m_r f_r">

		{if $kw}
	<!--相关搜索-->
		<div class="jianjie box01 ">
				<div class="header"><h3 class="f20">相关搜索</h3></div>
            <div class="mr10">
              
                	<div class="sch_site">
                        <ul>
                        {loop $MODULE $mod}{if $mod[moduleid]>3 && $mod[moduleid]!=$moduleid && !$mod[islink]}<li><a href="{$mod[linkurl]}search.php?kw={urlencode($kw)}">在 <span class="f_red">{$mod[name]}</span> 找 {$kw}</a></li>{/if}{/loop}
                        </ul>
                    </div>
		<!--{tag("moduleid=$moduleid&table=keyword&condition=moduleid=$moduleid and status=3 and word<>'$kw' and keyword like '%$keyword%'&pagesize=10&order=total_search desc&template=list-search_relate", -2)}-->
                 
              	
            </div>
       </div>	
       {/if}
	<!--今日搜索排行-->

		<div class="jianjie box01 mt-10">
				<div class="sponsor">{ad($moduleid,$catid,$kw,7)}</div>
            
               <div class="header"><h3 class="f20">今日搜索排行</h3></div>
            <div class="mr10">
                <div class="rank_list">
               	<!--{tag("moduleid=$moduleid&table=keyword&condition=moduleid=$moduleid and status=3 and updatetime>$today_endtime-86400&pagesize=10&order=today_search desc&key=today_search&template=list-search_rank")}-->
                </div>		
            </div>
       </div>
    <!--本周搜索排行--> 
		<div class="jianjie box01 mt-10">
				<div class="sponsor">{ad($moduleid,$catid,$kw,7)}</div>
            
               <div class="header"><h3 class="f20">本周搜索排行</h3></div>
            <div class="mr10">
                <div class="rank_list">
                    <!--{tag("moduleid=$moduleid&table=keyword&condition=moduleid=$moduleid and status=3 and updatetime>$today_endtime-86400*7&pagesize=10&order=week_search desc&key=week_search&template=list-search_rank")}-->
                </div>		
            </div>
       </div>

	 <!--本月搜索排行-->
     	<div class="jianjie box01 mt-10">
				<div class="sponsor">{ad($moduleid,$catid,$kw,7)}</div>
            
               <div class="header"><h3 class="f20">本月搜索排行</h3></div>
            <div class="mr10">
                <div class="rank_list">
                 	<!--{tag("moduleid=$moduleid&table=keyword&condition=moduleid=$moduleid and status=3 and updatetime>$today_endtime-86400*30&pagesize=10&order=month_search desc&key=month_search&template=list-search_rank")}-->
                </div>		
            </div>
       </div>

<!--小贴士开始-->
            <div class="jianjie box01 mt-10">
                <div class="header"><h3 class="f20">家装小贴士</h3></div>
				
                     <div class="know_sch">
				<form action="{$MODULE[2][linkurl]}{$DT[file_my]}" id="ask_form">
				<input type="hidden" name="mid" value="10"/>
				<input type="hidden" name="cid" value="{$catid}"/>
				<input type="hidden" name="action" value="add"/>
				<input type="hidden" name="kw" value="" id="ask_kw"/>
				</form>
				<form action="{$MODULE[10][linkurl]}search.php" onsubmit="return know_sch_check();">
				<input type="hidden" name="typeid" value="99" id="know_typeid"/>
				<input type="text" name="kw" id="know_kw" value="请输入问题" class="know_sch_inp" onfocus="if(this.value=='请输入问题')this.value='';"/>
				<div class="know_sch_btn">
				<input type="submit" class="konw_btn" value="搜索答案" onclick="Dd('know_typeid').value=99;"/>&nbsp;
				<input type="submit" class="konw_btn" value="我要回答" onclick="Dd('know_typeid').value=3;"/>&nbsp;
				<input type="button" class="konw_btn" value="我要提问" onclick="if(know_sch_check()){Dd('ask_kw').value=Dd('know_kw').value;Dd('ask_form').submit();}"/>&nbsp;
				</div>
				</form>
				<script type="text/javascript">
					function know_sch_check() {
						if(Dd('know_kw').value == '请输入问题' || Dd('know_kw').value.length < 1) {
							alert('请输入问题');
							Dd('know_kw').focus();
							return false;
						}
						return true;
					}
				</script>
				
			</div>          
               
            </div>
<!--小贴士结束-->
<!--广告推荐开始-->
            <div class="mt-15">
            <a href="#" target="_blank"><img src="{DT_SKIN}caiimg/zhaos1.jpg" alt="招商" width="240" height="240"/></a>					           </div>
<!--广告推荐结束-->
 
	 
	 
</div>
 
 

</div>
{template 'footer'}